//
//  PAContactCell.m
//  PAMobileWallet
//
//  Created by Gavin Zhang on 8/9/13.
//  Copyright (c) 2013 平安付. All rights reserved.
//

#import "PAContactCell.h"
#import "PAAsynImageView.h"

@interface PAContactCell ()
@property(nonatomic, strong)    PAAsynImageView *contactHeadIV;
@property(nonatomic, strong)    UILabel         *nickNameLAB;
@property(nonatomic, strong)    UILabel         *phoneNumLAB;
@property(nonatomic, strong)    UIImageView     *statusIV;

@end

@implementation PAContactCell
@synthesize contactHeadIV       = _contactHeadIV;
@synthesize nickNameLAB         = _nickNameLAB;
@synthesize phoneNumLAB         = _phoneNumLAB;
@synthesize statusIV            = _statusIV;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.contactHeadIV = [[PAAsynImageView alloc] initWithFrame:CGRectMake(6, 4, 44, 44)];
        [self addSubview:self.contactHeadIV];
        self.nickNameLAB = [[UILabel alloc] initWithFrame:CGRectMake(54, 4, 120, 20)];
        [self addSubview:self.nickNameLAB];
        self.phoneNumLAB = [[UILabel alloc] initWithFrame:CGRectMake(54, 28, 120, 20)];
        [self addSubview:self.phoneNumLAB];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
